package com.wanmait.employment.webController;


import com.wanmait.employment.entity.RecruitmentDelivery;
import com.wanmait.employment.service.RecruitmentDeliveryService;
import com.wanmait.employment.util.AjaxResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
@RequestMapping("web/RecruitmentDelivery")
public class WebRecruitmentDeliveryController {
    @Resource
    private RecruitmentDeliveryService recruitmentDeliveryService;

    @GetMapping("LISTFIND")
    public AjaxResult LISTFIND(Integer publisherId){
        List<RecruitmentDelivery> recruitmentDeliveryList=recruitmentDeliveryService.findList(publisherId);
        return AjaxResult.success("success").put("recruitmentDeliveryList",recruitmentDeliveryList);
    }



}
